/**
 * @author yexy
 * @date 2020/6/2 7:46 下午
 * @description
 */
public class NetCombo extends Combo implements NetServiceInterface{
    private int netFlow;

    public NetCombo(int netFlow,int fee) {
        this.netFlow = netFlow;
        this.fee = fee;
    }

    public int getNetFlow() {
        return netFlow;
    }

    public void setNetFlow(int netFlow) {
        this.netFlow = netFlow;
    }

    public int getFee() {
        return fee;
    }

    public void setFee(int fee) {
        this.fee = fee;
    }

    public void show() {
        System.out.println("上网流量是：" + this.netFlow);
        System.out.println("每月资费是：" + this.fee);
    }

    @Override
    public void netShow(int netFlow, SIMCard simCard) {
        System.out.println("上网流量是：" + netFlow);
        simCard.show();
    }
}


